package com.cowin.inf.service;

import com.cowin.base.result.Result;
import com.cowin.inf.model.KyLineState;
import com.cowin.base.Service;

import java.util.List;


/**
 * Created by  on 2019/09/19.
 *
 * @author CodeGenerator
 */
public interface KyLineStateService extends Service<KyLineState> {
    /**
     * 功能描述: 监控线体状态修改更新<br>
     *
     * @param kyLineState 实体类
     * @return: Result
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/9/19 17:58
     */
    Result lineStateMonitor(KyLineState kyLineState);

    /**
     * 功能描述: WebSocket 初始化加载<br>
     *
     * @param plantNo    工厂
     * @param workShopNo 车间
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2019/9/21 9:34
     */
    List<KyLineState> initLineState(String plantNo, String workShopNo);

    /**
     * 功能描述: 查询线体状态<br>
     *
     * @param
     * @return:
     * @since: 1.0.0
     * @Author:yuchao
     * @Date: 2020/1/13 11:58
     */
    KyLineState getLineState(String workShopNo, String lineNo);
}
